package sb.simple.multi_sql_source.register.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import sb.simple.multi_sql_source.pojo.User;
import sb.simple.multi_sql_source.register.dao.RegisterDao;

import java.util.List;

@Service
public class RegisterService {

    @Autowired
    RegisterDao mRegisterDao;

    public List<User> getUsers() {
        return mRegisterDao.getUsers();
    }

}
